home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gTB
- set the visible of sprite 47 to 1
- set x to doPopMenu(48, the left of sprite the clickOn, the top of sprite the clickOn)
- if x > 0 then
- put line x of field "Fields" into field "fld"
- end if
- if field "fld" = "All Shareware" then
- ClearMe()
- else
- puppetSound(1, "sound4")
- mSetCriteria(gTB, "category", "start", field "fld")
- mSelect(gTB)
- set n to mSelectCount(gTB)
- if n <> 0 then
- put n into field "NumberFound"
- put mGetField(gTB, "Category") into field "zcategory"
- put mGetField(gTB, "AppName") into field "Name"
- put mGetField(gTB, "AppPath") into field "Path"
- put mGetField(gTB, "desc") into field "zdesc"
- put mGetField(gTB, "url") into field "zurl"
- put mGetField(gTB, "special") into field "zspecial"
- else
- alert("No matching items were found.")
- end if
- showSelection()
- end if
- end
-
- on ClearMe
- global gTB, gDb
- set gTB to 0
- set gDb to 0
- go("begin")
- end
-